﻿@model ChurchEdu.Models.CreateCategory

@{
    ViewBag.Title = "Create";
}
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="main">
    <h3>新建一级菜单</h3>

    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)

        <fieldset style="padding-top:15px;">
            <div class="editor-label">
                @Html.LabelFor(model => model.FirstLevelCategoryName)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.FirstLevelCategoryName)
                @Html.ValidationMessageFor(model => model.FirstLevelCategoryName)
            </div>

            <p style="padding-top:15px;">
                <input type="submit" value="新增" class="button button-raised button-pill" />
            </p>
        </fieldset>
    }
</div>
@*<div>
    @Html.ActionLink("Back to List", "Index")
</div>*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}

<script>
    $("#carousel-hm").css("display", "none");
    $("#f3 a").html("<font> " + $("#f3 a").text() + " </font>")
    $("#f3 a").addClass("selected");
</script>